package com.hsc.yalebao.weight;

import android.text.TextUtils;
import android.util.Log;

public class LogUtils {
    private static final boolean DEBUG = true;
    private static final boolean ERROR = true;
    private static final boolean INFO = true;
    private static final String SEPARATOR = ",";
    private static final boolean VERBOSE = true;
    private static final boolean WARN = true;

    public static void d(String paramString) {
        Log.d(getDefaultTag(java.lang.Thread.currentThread().getStackTrace()[3]), paramString);
    }

    public static void d(String paramString1, String paramString2) {
        StackTraceElement localStackTraceElement = java.lang.Thread.currentThread().getStackTrace()[3];
        if (TextUtils.isEmpty(paramString1))
            paramString1 = getDefaultTag(localStackTraceElement);
        Log.d(paramString1, paramString2);
    }

    public static void e(String paramString) {
        Log.e(getDefaultTag(java.lang.Thread.currentThread().getStackTrace()[3]), paramString);
    }

    public static void e(String paramString1, String paramString2) {
        StackTraceElement localStackTraceElement = java.lang.Thread.currentThread().getStackTrace()[3];
        if (TextUtils.isEmpty(paramString1))
            paramString1 = getDefaultTag(localStackTraceElement);
        Log.e(paramString1, paramString2);
    }

    public static String getDefaultTag(StackTraceElement paramStackTraceElement) {
        return paramStackTraceElement.getFileName().split("\\.")[0];
    }

    public static void i(String paramString) {
        Log.i(getDefaultTag(java.lang.Thread.currentThread().getStackTrace()[3]), paramString);
    }

    public static void i(String paramString1, String paramString2) {
        StackTraceElement localStackTraceElement = java.lang.Thread.currentThread().getStackTrace()[3];
        if (TextUtils.isEmpty(paramString1))
            paramString1 = getDefaultTag(localStackTraceElement);
        Log.i(paramString1, paramString2);
    }

    public static void v(String paramString) {
        Log.v(getDefaultTag(java.lang.Thread.currentThread().getStackTrace()[3]), paramString);
    }

    public static void v(String paramString1, String paramString2) {
        StackTraceElement localStackTraceElement = java.lang.Thread.currentThread().getStackTrace()[3];
        if (TextUtils.isEmpty(paramString1))
            paramString1 = getDefaultTag(localStackTraceElement);
        Log.v(paramString1, paramString2);
    }

    public static void w(String paramString) {
        Log.w(getDefaultTag(java.lang.Thread.currentThread().getStackTrace()[3]), paramString);
    }

    public static void w(String paramString1, String paramString2) {
        StackTraceElement localStackTraceElement = java.lang.Thread.currentThread().getStackTrace()[3];
        if (TextUtils.isEmpty(paramString1))
            paramString1 = getDefaultTag(localStackTraceElement);
        Log.w(paramString1, paramString2);
    }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.hsc.yalebao.weight.LogUtils
 * JD-Core Version:    0.6.2
 */